ParcelPanel\Action\ShopOrder D

Total Complexity 257
Dependencies 9
Dependents 3
Total lines 1,901
Lines of code 1,188
Logical lines of code 756
Comment lines 300
Methods 43
Properties 4

Methods 43

Method Rating Maintainability Complexity Lines of code
shipment_item_save_ajax()
D
27
32 139
save_tracking_item()
C
28
26 134
sync_order()
B
36 21 72
get_shipment_items()
A
39 13 76
get_items_quantity()
A
43 13 51
delete_tracking_item()
A
43 13 46
get_shipped_items_qty()
A
48 12 36
save_meta_box_ajax()
A
44 10 44
get_shipment_status_column_content()
A
44 10 44
init_tracking_data()
A
41 8 61
get_order_item_data()
A
49 10 30
adjust_unfulfilled_shipment_items()
A
42 8 55
is_editable_tracking()
S
48 6 39
get_tracking_items_ajax()
S
49 6 31
filter_orders_by_shipment_status_query()
S
58 6 13
get_tracking_item_data()
S
63 6 10
get_tracking_number_column_content()
S
53 4 24
display_html_tracking_item_for_meta_box()
S
48 3 31
filter_orders_by_shipment_status()
S
57 4 15
save_meta_box()
S
59 4 13
get_tracking_items()
S
51 2 34
retrieve_shipments_info_by_order_id()
S
52 2 33
order_updated()
S
63 3 11
delete_meta_box_ajax()
S
61 3 11
find_unfulfilled_shipment()
S
67 3 8
delete_shop_order()
S
65 3 8
shipment_item_delete_ajax()
S
62 3 10
update_order_status_to()
S
70 3 6
format_shipment()
S
51 1 26
get_order_items_quantity()
S
66 2 8
items_sub_by_key()
S
68 2 7
update_order_status_to_completed()
S
71 2 6
render_shop_order_columns()
S
66 2 8
save_shipped_label_ajax()
S
64 2 9
schedule_order_sync_action()
S
80 1 3
schedule_order_updated_action()
S
79 1 3
meta_box_tracking()
S
65 1 8
wc_update_order()
S
79 1 3
new_order()
S
81 1 3
add_shop_order_columns_header()
S
72 1 5
get_notice_html()
S
75 1 4
get_tracking_item_by_id()
S
71 1 5
find_gt0_items()
S
73 1 5